package com.gzxx.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * UserChangePwdDto
 *
 * @author chenjing
 */
@Data
public class UserChangePwdDto implements Serializable {

    private static final long serialVersionUID = -6842017796526404324L;

    @ApiModelProperty(value = "原始密码", required = true, example = "123456")
    @NotBlank(message = "原始密码不能为空")
    private String password;

    @ApiModelProperty(value = "新密码", required = true, example = "123456")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
